db_constraints.utils.nullable

This is basically std.typecons.Nullable with extra features. This module contains: $(TOC isNullable) $(TOC Nullable)

Members

Structs

Nullable
struct Nullable(T)

Defines a value paired with a distinctive "null" state that denotes the absence of a value. If default constructed, a Nullable!T object starts in the null state. Assigning it renders it non-null. Calling nullify can nullify it again. Practically Nullable!T stores a T and a bool.

Templates

isNullable
template isNullable(T, I)

Checks if you can assign the value to a Nullable!T

Meta

Authors

Andrei Alexandrescu, Bartosz Milewski, Don Clugston, Shin Fujishiro, Kenji Hara, Matthew Armbruster

Source: $(SRC $(SRCFILENAME))